import request from '@/utils/request'

// 查询订单服务管理列表
export function listOrder_service(query) {
  return request({
    url: '/service/order_service/list',
    method: 'get',
    params: query
  })
}

// 查询订单服务管理详细
export function getOrder_service(id) {
  return request({
    url: '/service/order_service/' + id,
    method: 'get'
  })
}

// 新增订单服务管理
export function addOrder_service(data) {
  return request({
    url: '/service/order_service',
    method: 'post',
    data: data
  })
}

// 修改订单服务管理
export function updateOrder_service(data) {
  return request({
    url: '/service/order_service',
    method: 'put',
    data: data
  })
}

// 删除订单服务管理
export function delOrder_service(id) {
  return request({
    url: '/service/order_service/' + id,
    method: 'delete'
  })
}
